import React from "react"
const Home = React.lazy(() => import("../component/home/Home"))
const Category = React.lazy(() => import("../component/category/Category"))
const Cart = React.lazy(() => import("../component/cart/Cart"))
const My = React.lazy(() => import("../component/my/My"))

const routes = [
    {
        path: "/",
        component: Home,
        exact:true
        /* 
            routes:[
                {
                    path:"/kk",
                    component:KK
                }
            ]
        */
    },
    {
        path: "/category",
        component: Category
    },{
        path: "/cart",
        component: Cart
    },{
        path: "/my",
        component: My
    }
]
export default routes;